Worklist/Items({SerialNumber})/Actions/Delegate
Performs the system action to delegate a task to the user specified as a Fully Qualified Name for the worklist item matching the SerialNumber.
URI
{Service Root URI}/Worklist/Items({SerialNumber})/Actions/Delegate?{Query Options}
https://api.denallix.com:443/K2Services/REST.svc/Worklist/Items(19_10)/Actions/Delegate?destination=DENALLIX\Jono
Method
GET
Service Path Options
Required• SerialNumber (String) – the serial number for the worklist item
Query Options
Required
- destination (String) – the Fully Qualified Name of the user to delegate the task to.
Optional•
- System Query Options
- Custom Query Options – by default processing will not be done synchronously. Changing either the service configuration (web.config) or providing this query options can force synchronous processing.
-
- synchronous (Boolean) – determines if the server starts performs this action synchronously
Return Type
Return Example
GET /K2Services/REST.svc/Worklist/Items(19_10)/Actions/Delegate?destination=K2:DENALLIX\Jono {Raw} HTTP/1.1 200 OK Cache-Control: private Content-Length: 0 Server: Microsoft-IIS/7.5 X-AspNet-Version: 2.0.50727 Persistent-Auth: true X-Powered-By: ASPNET X-UA-Compatible: IE=EmulateIE7 Date: Wed, 06 Jul 2011 21:36:24 GMT